package com.cskaoyan.service;

import com.cskaoyan.bean.BaseRespVo;
import com.cskaoyan.bean.param.BaseParam;
import com.cskaoyan.bean.yangzihui.DataDTOXX;
import com.cskaoyan.bean.yangzihui.TopicCreateBO;
import com.cskaoyan.bean.yangzihui.TopicListVO;
import com.cskaoyan.bean.yangzihui.TopicUpdateVO;

import java.util.List;

/**
 * @author yangzihui
 * @Description
 * @Create 2022-06-26 18:26
 * @Version
 */
public interface TopicService {
    TopicListVO query(BaseParam baseParam, String subtitle, String title);

    DataDTOXX readTopic(Integer id);

    BaseRespVo update(TopicUpdateVO topic);

    Boolean create(TopicCreateBO topicCreateBO);

    boolean delete(Integer id);

    boolean batchDelete(List<Integer> ids);
}
